/* function cloneUtil(target) {
  const type = Object.prototype.toString.call(target)
  let res
  if (typeof target !== 'object') {
    return target
  } else if (typeof target === 'object') {
    if (type.includes('Object')) {
      res = {}
    } else if (type.includes('Array')) {
      res = []
    }
  } else {
    return
  }
  for (const key in target) {
    if (typeof target[key] === 'object') {
      res[key] = cloneUtil(target[key])
    } else {
      res[key] = target[key]
    }
  }
  return res
} */
//金额大写
const digitUppercase = (n) => {
  const fraction = ['角', '分']
  const digit = [
    '零', '壹', '贰', '叁', '肆',
    '伍', '陆', '柒', '捌', '玖'
  ];
  const unit = [
    ['元', '万', '亿'],
    ['', '拾', '佰', '仟']
  ];
  const head = n < 0 ? '负' : ''
  n = Math.abs(n)
  let s = ''
  for (let i = 0; i < fraction.length; i++) {
    s += (digit[Math.floor(Math.floor(n * 1000 * 10 * Math.pow(10, i)) % (10 * 1000) / 1000)] + fraction[i]).replace(/零./, '')
  }
  s = s || '整'
  n = Math.floor(n)
  for (let i = 0; i < unit[0].length && n > 0; i++) {
    let p = ''
    for (let j = 0; j < unit[1].length && n > 0; j++) {
      p = digit[n % 10] + unit[1][j] + p
      n = Math.floor(n / 10)
    }
    s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
  }
  return head + s.replace(/(零.)*零元/, '元')
    .replace(/(零.)+/g, '零')
    .replace(/^整$/, '零元整')
}
const cloumnsHeight = {
  tableNormalHeight: 60,
  tableBigHeight: 100,
  tableBigRowHeight: 350,
  tableBigRowHeight1: 450,
  tableNormalRowHeight: 270,
  tableSmallRowHeight: 230,
  tableSmallRowHeight1: 170,
};
const cloumnsWidth = {
  labelWidth: 100,
  labelWidth2: 97,
  labelWidth3: 95,
  labelWidthBigSmal: 120,
  labelWidthBig: 150,
  labelWidthBigColums: 203,
  tableNormalWidth: 3,
  tableBigRowWidth: 7,
};

const tableMap1 = {
  //单位基本支出预算追加审批表
  jbzc: {
    'enterpriseName': {
      textKey: 'enterpriseName',
      // label: '申请单位',
      label: '指标单位',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight + 8,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidth,
    },
    'enterpriseText': {
      textKey: 'enterpriseCode',
      label: '单位编码',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight + 5,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth,
    }, //需enterpriseText中取那串数字
    'ecoGovName': {
      textKey: 'programName',
      label: '项目名称',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth,
    },
    'bMoney': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth,
    },

    'reason': {
      textKey: 'reason',
      label: '申请项目情况及科室调查意见',
      type: 'row', //一行
      height: cloumnsHeight.tableBigRowHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth3,
      content: {
        showReason: {
          label: '情况说明 :',
          textKey: 'reason'
        },
        showSign: {
          values: [{
              label: '经办人(签名) :',
              textKey: 'JBRName'
            },
            {
              label: '科室长(签名) :',
              textKey: 'KSZName'
            },
          ]
        }
      }
    }, //bpmActionAddOfUpData 里面

    'leaderReason1': {
      textKey: 'leaderReason1',
      label: '局分管领导审批意见',
      type: 'row',
      height: cloumnsHeight.tableNormalRowHeight - 40,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth3,
    },

    'leaderReason2': {
      textKey: 'leaderReason2',
      label: '局主要领导审批意见',
      type: 'row',
      height: cloumnsHeight.tableNormalRowHeight - 40,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth3,
    }

  },
  // 采购预算核减审批表
  hk: {
    'proNameAndSubject': {
      textKey: 'proNameAndSubject',
      label: '项目名称及科目',
      type: 'row',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showNormal: true
      }
    },
    'buyCatalogName': {
      textKey: 'buyCatalogName',
      label: '采购目录',
      type: 'row',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showNormal: true
      }
    },
    'isBuy1': {
      textKey: 'isBuy1',
      label: '采购类型',
      type: 'row',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showNormal: true
      }
    },
    'reason': {
      textKey: 'reason',
      label: '情况说明',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showReason: {
          label: '',
          textKey: 'reason'
        }
      }
    },
    'bMoney1': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'row',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showNormal: true
      }
    },
    'reason1': {
      textKey: 'reason1',
      label: '财政科室调查意见',
      type: 'row', //一行
      height: cloumnsHeight.tableNormalRowHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showReason: {
          label: '',
          textKey: 'reason1'
        },
        showSign: {
          values: [{
              label: '经办人(签名) :',
              textKey: 'JBRName'
            },
            {
              label: '科室长(签名) :',
              textKey: 'KSZName'
            },
          ]
        }
      }
    },
    'reason2': {
      textKey: 'reason2',
      label: '财政局分管领导审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBig,
      content: {
        showReason: {
          label: '',
          textKey: 'reason1'
        }
      }
    },
  },
  //单位项目支出预算追加审批表
  xmzcsp: {
    'enterpriseName': {
      textKey: 'enterpriseName',
      label: '申请单位',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidth + 2,
    },
    'enterpriseText': {
      textKey: 'enterpriseCode',
      label: '单位编码',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth + 1.5,
      labelWidth: cloumnsWidth.labelWidth + 20,
    }, //需enterpriseText中取那串数字
    'ecoGovName': {
      textKey: 'programName',
      label: '项目名称',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth + 2,
    },
    'bMoney': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth + 1.5,
      labelWidth: cloumnsWidth.labelWidth + 20,
    },
    'reason': {
      textKey: 'reason',
      label: '申请项目情况及科室调查意见',
      type: 'row', //一行
      height: cloumnsHeight.tableBigRowHeight + 20,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth3,
      content: {
        showReason: {
          label: '情况说明 :',
          textKey: 'reason'
        },
        showSign: {
          values: [{
              label: '经办人(签名) :',
              textKey: 'JBRName'
            },
            {
              label: '科室长(签名) :',
              textKey: 'KSZName'
            },
          ]
        }
      }
    }, //bpmActionAddOfUpData 里面
    'reason1': {
      textKey: 'reason',
      label: '财政局审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight + 20,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth2,
      children: [{
          label: '分管领导意见',
          textKey: 'xxx',
        },
        {
          label: '主要领导意见',
          textKey: 'xxx',
          showChapter: true //盖章
        }
      ]
    },
    'reason2': {
      textKey: 'reason2',
      label: '区政府审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight + 20,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth2,
      children: [{
          label: '分管领导意见',
          textKey: 'xxx',
        },
        {
          label: '主要领导意见',
          textKey: 'xxx',
        }
      ]
    },
  },
  // 省（市）专项补助资金审批表
  zxbzsp: {
    'enterpriseName': {
      textKey: 'enterpriseName',
      label: '单位名称（盖章）',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseText': {
      textKey: 'xxx',
      label: '税务登记证号或预算单位编码',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseName1': {
      type: 'in', //行内
      clounms: [{
          textKey: 'xxx',
          label: '法人代表',
        },
        {
          textKey: 'xxx',
          label: '财务负责人',
        },
        {
          textKey: 'xxx',
          label: '联系电话',
        },
      ],
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBigColums - 18,
    },
    'enterpriseText2': { //行内元素自定义时的占位
      label: '',
      type: 'in',
      width: 0,
    },
    'enterpriseText3': {
      textKey: 'xxx',
      label: '文件标题',
      type: 'in',
      control: true,
      height: cloumnsHeight.tableBigHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseText4': {
      textKey: 'xxx',
      label: '文号',
      type: 'in',
      height: cloumnsHeight.tableBigHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseName1x': {
      type: 'in', //行内
      clounms: [{
        label: '补助金额',
        children: [{
            textKey: 'bMoney1',
            label: '小写:',
            labelWidth: cloumnsWidth.labelWidthBig - 40
          },
          {
            textKey: 'bigBMoney',
            label: '大写:',
            labelWidth: cloumnsWidth.labelWidthBig - 40
          }
        ]
      }],
      height: 120,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig - 23,
    },
    'enterpriseText2x': {
      label: '',
      type: 'in',
      width: 0,
    },
    'enterpriseNamexx': {
      textKey: 'enterpriseName',
      label: '预算功能科目',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseTextxx': {
      textKey: 'economySectionText',
      label: '经济科目',
      type: 'in',
      control: true, //是否自定义高度
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseNamexx1': {
      textKey: 'xxx',
      label: '开户银行',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'enterpriseTextxx2': {
      textKey: 'xxx',
      label: '账 号',
      type: 'in',
      control: true, //是否自定义高度
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidthBig + 3,
    },
    'leaderReason2': {
      textKey: 'leaderReason2xxx',
      label: '该项目支出部门预算是否已安排',
      type: 'row',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: 'half',
      content: {
        showNormal: true
      }
    },
    'rrr': {
      type: 'row', //一行
      height: 100,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: 0, //不显示label
      content: {
        showReason: {
          label: '',
          textKey: 'reason'
        },
        showSign: {
          showLineTop: true,
          values: [{
              label: '经办人(签名) :',
              textKey: 'JBRName'
            },
            {
              label: '科室长(签名) :',
              textKey: 'KSZName'
            },
          ]
        }
      }
    },
    'leaderReason11': {
      textKey: 'opinion',
      label: '局分管领导审批意见',
      type: 'row',
      height: cloumnsHeight.tableSmallRowHeight1,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidthBigSmal + 8,
      content: {
        showNormal: true
      }
    },

    'leaderReason21': {
      textKey: 'opinion',
      label: '局主要领导审批意见',
      type: 'row',
      height: cloumnsHeight.tableSmallRowHeight1,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBigSmal + 8,
      content: {
        showNormal: true
      }
    }
  },
  // 已批复预算总额内调剂审批表
  pftjsp: {
    'a1': {
      type: 'in', //行内
      clounms: [{
        textKey: 'programName',
        label: '项目名称',
      }],
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBigSmal - 1 + 10,
    },
    'a2': { //行内元素自定义时的占位
      label: '',
      type: 'in',
      width: 0,
    },
    'a3': {
      textKey: 'enterpriseName',
      label: '单位之间调剂',
      type: 'in', //行内
      control: true,
      height: (cloumnsHeight.tableNormalHeight + 22) * 2,
      width: cloumnsWidth.tableBigRowWidth + 1, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBigSmal + 30,
      children: [{
          label: '指标调增单位',
          textKey: 'enterpriseText',
          width: .5,
        },
        {
          label: '指标调减单位',
          textKey: 'oldEnterprise',
          width: .5,
        }
      ]
    },
    'a4': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBigSmal + 45,
    },
    'a5': {
      textKey: 'enterpriseName',
      label: '单位内部调剂',
      type: 'in', //行内
      control: true,
      height: (cloumnsHeight.tableNormalHeight + 22) * 2,
      width: cloumnsWidth.tableBigRowWidth + 1, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBigSmal + 30,
      children: [{
          label: '调增科目',
          textKey: 'tzSubject',
          width: .5,
        },
        {
          label: '调减科目',
          textKey: 'tjSubject',
          width: .5,
        }
      ]
    },
    'a6': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidthBigSmal + 45,
    },
    'reason': {
      textKey: 'reason',
      label: '申请理由',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight1,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBigSmal + 10,
      content: {
        showReason: {
          label: '',
          textKey: 'reason'
        },
        showSign: {
          values: []
        }
      }
    },
    'reason1': {
      textKey: 'reason',
      label: '主管部门(协同单位)审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight1,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBigSmal + 10,
      content: {
        showReason: {
          label: '',
          textKey: 'xxx'
        },
        showSign: {
          values: [{
              label: '部门负责人',
              textKey: 'xxx'
            },
            {
              label: '(盖章)',
              textKey: 'xxx'
            },
          ]
        }
      }
    },
    'reason2': {
      textKey: 'reason',
      label: '财政局审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight1 * 2,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidthBigSmal + 3 + 11,
      children: [{
          label: '科室调查意见',
          textKey: 'xxx',
          showSign: {
            values: [{
                label: '经办人(签名):',
                textKey: 'JBRName'
              },
              {
                label: '科室长(签名):',
                textKey: 'KSZName'
              },
            ]
          }
        },
        {
          label: '分管领导意见',
          textKey: 'xxx',
          showSign: {
            values: [{
                label: '',
                textKey: 'xxx'
              },
              {
                label: '分管领导(签名):',
                textKey: 'xxx'
              },
            ]
          }
        }
      ]
    },
  },
  // 单位财政专户支出预算追加审批表
  dwzjsp: {
    'enterpriseName': {
      textKey: 'enterpriseName',
      label: '申请单位',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight + 8,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidth,
    },
    'enterpriseText': {
      textKey: 'enterpriseCode',
      label: '单位编码',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight + 5,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth + 20,
    }, //需enterpriseText中取那串数字
    'ecoGovName': {
      textKey: 'ecoGovName',
      label: '项目名称',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth,
    },
    'bMoney': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth + 20,
    },
    'reason': {
      textKey: 'reason',
      label: '项目情况及财政科室意见',
      type: 'row', //一行
      height: cloumnsHeight.tableBigRowHeight1,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth3,
      content: {
        showReason: {
          label: '',
          textKey: 'reason'
        },
        showSign: {
          values: [{
              label: '经办人(签名) :',
              textKey: 'JBRName'
            },
            {
              label: '科室长(签名) :',
              textKey: 'KSZName'
            },
          ]
        }
      }
    },
    'reason1': {
      textKey: 'xxx',
      label: '局分管领导审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableBigRowHeight1,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth3,
      content: {
        showReason: {
          label: '',
          textKey: 'xxx'
        }
      }
    },
  },
  // 区级重点项目资金预算指标追加审批表
  zdzjsp: {
    'enterpriseName': {
      textKey: 'enterpriseName',
      label: '申报单位',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight + 8,
      width: cloumnsWidth.tableBigRowWidth, //宽度比例
      labelWidth: cloumnsWidth.labelWidth,
    },
    'enterpriseText': {
      textKey: 'enterpriseCode',
      label: '单位编码',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight + 5,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth + 20,
    },
    'a1': {
      type: 'in', //行内
      clounms: [{
        textKey: 'programName',
        label: '项目名称',
      }],
      height: cloumnsHeight.tableNormalHeight + 5 - 20,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth - 6,
    },
    'a2': { //行内元素自定义时的占位
      label: '',
      type: 'in',
      width: 0,
    },
    'a3': {
      textKey: 'bMoney1',
      label: '金额',
      type: 'in', //行内
      height: cloumnsHeight.tableNormalHeight + 8,
      width: 1, //宽度比例
      labelWidth: cloumnsWidth.labelWidth + 7,
    },
    'a4': {
      textKey: 'bigBMoney',
      label: '大写',
      type: 'in',
      height: cloumnsHeight.tableNormalHeight + 5,
      width: 1,
      labelWidth: cloumnsWidth.labelWidth + 20,
    },
    'a5': {
      type: 'in', //行内
      clounms: [{
        textKey: 'economySectionText',
        label: '预算科目',
      }],
      height: cloumnsHeight.tableNormalHeight + 5 - 20,
      width: cloumnsWidth.tableNormalWidth,
      labelWidth: cloumnsWidth.labelWidth - 6,
    },
    'a6': { //行内元素自定义时的占位
      label: '',
      type: 'in',
      width: 0,
    },
    'reason': {
      textKey: 'reason',
      label: '情况说明',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth - 5,
      content: {
        showReason: {
          label: '',
          textKey: 'reason'
        }
      }
    },
    'reason1': {
      textKey: 'xxx',
      label: '业务科室调查意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight + 30,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth - 5,
      content: {
        showReason: {
          label: '',
          textKey: 'JBROpinion'
        },
        showSign: {
          values: [{
              label: '经办人(签名) :',
              textKey: 'JBRName'
            },
            {
              label: '科室长(签名) :',
              textKey: 'KSZName'
            },
          ]
        }
      }
    },
    'reason2': {
      label: '局分管领导审批意见',
      type: 'row', //一行
      height: cloumnsHeight.tableSmallRowHeight,
      width: cloumnsWidth.tableBigRowWidth,
      labelWidth: cloumnsWidth.labelWidth - 5,
      content: {
        showReason: {
          label: '',
          textKey: 'opinion'
        }
      }
    },
  }
};
const tableMap = {
  ...tableMap1,
  // 采购预算调整审批表
  hksp: tableMap1.hk,

}
// 判断要打印表归属的类型
const tableType = {
  jbzc: '单位基本支出预算追加审批表',
  zxbzsp: '省（市）专项补助资金审批表',
  xmzcsp: '单位项目支出预算追加审批表',
  hksp: '采购预算调整审批表',
  hk: '采购预算核减审批表',
  pftjsp: '已批复预算总额内调剂审批表',
  dwzjsp: '单位财政专户支出预算追加审批表',
  zdzjsp: '区级重点项目资金预算指标追加审批表'
};
// 需要显示盖章(表头那个)的类型
const showChapters = ['hk', 'hksp', 'pftjsp']
const flagMap = { //zd
  2: '基本支出指标申请',
  10: '项目支出指标申请',
  6: '项目调整',
  8: '功能科目调整',
  9: '经济科目调整',
  4: '采购调整非采购',
  5: '非采购调整采购',
  7: '单位调整',
  // 10: '项目支出新增',
  11: '指标核减',
  12: '指标列表',
  13: '指标明细',
  14: '附件',
  15: '因公出国境'
}
//2~9 +11   -3

export {
  tableMap,
  tableType,
  showChapters,
  flagMap,
  digitUppercase
}
